#ifndef __MCU_H
#define __MCU_H

//----------------------------------Include-------------------------------------
#include "hc32_ddl.h"
//------------------------------------------------------------------------------
#include "mcu_misc.h"
#include "mcu_clk.h"
#include "mcu_dio.h"
#include "mcu_systick.h"
#include "mcu_tim.h"
#include "mcu_adc.h"
//------------------------------------------------------------------------------

//-----------------------------------Macro--------------------------------------
#define  _IRQn_ADC1_EOCA                 Int000_IRQn
#define  _IRQn_ADC1_A_DMA_TC             Int001_IRQn
#define  _IRQn_ADC1_A_DMA_ERR            Int002_IRQn
//------------------------------------------------------------------------------
#define  _IRQn_TMRA3_CMP                 Int080_IRQn    //INT_SEL0~31 or INT_SEL80~85
#define  _IRQn_TMRA3_OVF                 Int081_IRQn    //INT_SEL0~31 or INT_SEL80~85
//------------------------------------------------------------------------------


//------------------------------------------------------------------------------
#define  _IRQ_PRI_ADC1_EOCA              DDL_IRQ_PRIORITY_01
#define  _IRQ_PRI_ADC1_A_DMA_TC          DDL_IRQ_PRIORITY_02
#define  _IRQ_PRI_ADC1_A_DMA_ERR         DDL_IRQ_PRIORITY_DEFAULT
//------------------------------------------------------------------------------

#endif
//------------------------------------EOF---------------------------------------










